* {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
/*顶部 */
header {
    width: 100%;
    height: 30px;
    background: #f8f8f8;
}
header .container {
    display: flex;
    line-height: 30px;
    font-size: 12px;
}
header .container p {
    margin-left: 10px;

}
header .container a {
    color: #646464;
}
header .container a:hover {
    color: #c33;
}
header .container p a:nth-child(2) {
    margin-left: 40px ;
}
header .container ul {
    display: flex;
    width: 400px;
    justify-content: space-evenly;
    margin-left: 587px;
}

/* search部分 */
.search {
    height: 150px;
}
.search .logo {
    width: 300px;
    height: 60px;
    display: flex;
    padding-top: 30px;
    padding-left: 20px;
    position: relative;
}

.search .logo input {
    margin-left: 60px;
    width: 400px;
    height: 40px;
    font-size: 16px;
    color: #18181a;
    margin-top: 15px;
    outline: none;
    border: 3px solid #c33;
    padding-left: 8px;
}
.search .logo form {
    position: relative;
}
.search .logo button {
    position: absolute;
    left: 465px;
    top: 15px;
    background: #c33 url('https://s2.ymatou.com/home/4f17885f394dcd87bf2232af21239291.png') no-repeat -13px;
    width: 44px;
    height: 46px;
    border: none;
}

.search .logo #lists {
    position: absolute;
    top: 61px;
    left: 60px;
    z-index: 100;
    width: 405px;
    height: 300px;
    /* background: pink; */
    overflow: auto;
    cursor: pointer;
    line-height: 2;
    padding-left: 10px;
    color: #666;
    font-size: 14px;
   
}
/* list部分 */
.list{
    width: 600px;
    display: flex;
    justify-content: space-around;
    font-size: 20px;

}
.list li a {
    color: #383838;
    font-weight: 700;
}
.list li a:hover {
    color:#c33;
}
.list .items {
    position: relative;
}
.list .items ul {
    width: 1200px;
    height: 216px;
    background: #fff;
    position: absolute;
    top: 38px;
    left: -805px;
    z-index: 99;
    display: none;
    flex-wrap: wrap;
}
.list .items ul li a {
    display: flex;
    flex-wrap: wrap;
}
.list .items ul li {
    float: left;
    border-bottom: 2px dotted #dedede;
    border-right: 2px dotted #dedede;
    width: 200px;
    height: 50px;
    padding: 10px 19px;
}
.list .items ul li a p {
    font-size: 18px;
    font-weight: 700;
}
.list .items ul li a p span {
    font-size: 12px;
    font-weight: normal;
}
.list .items ul li img {
    width: 55px;
    height: 55px;
    margin-left: 28px;
}
/* banner部分 */
.banner {
    width: 100%;
    height: 120px;
    margin-top: 10px;
    position: relative;
}
.banner img {
    width: 100%;
    height: 120px;
}


.global {
    margin-top: 30px;
}
.global ul{
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}
.global ul li {
    height: 298px;
    width: 170px;   
    padding: 10px;
    margin-left: 10px;
    border: 1px solid #000;
}
.global ul li .text {
    overflow: hidden;
    text-overflow: ellipsis; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.global ul .one {
    width: 353px;
    position: relative;
}
.global ul .one img {
    width: 100%;
    height: 100%;
}
.global ul .one p {
    width: 345px;
    height: 140px;
    text-align: center;
    line-height: 140px;
    background: url('https://s2.ymatou.com/home/cfadc39200082fb2e4629860189febfa.png') no-repeat;
    position: absolute;
    top: 20px;
    left: 10px;
}
.global ul .one a p span {
    display: inline-block;
    width: 300px;
    color: #383838; 
    font-size: 20px;
}
.global ul .one i{
    position: absolute;
    top: 200px;
    left: 35px;
    color: #fff;
}
.global ul li a img{
    width: 170px;
    height: 170px;
    margin-bottom: 10px;
}
.global ul li a p {
    color: #383838;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 2;
}
.global ul li a i {
    font-size: 18px;
    color: #c33;
    margin-right: 60px;
    font-weight: 700;
    font-style: normal;
}
.global ul li a em {
    color: #383838;
    font-size: 12px;
    font-style:normal;
}

